package com.sxt.opd.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2020-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("opd_patient")
public class Patient implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 患者名字
     */
    private String patientname;

    /**
     * 患者名字
     */
    private String address;

    /**
     * 身份证号码
     */
    private String idcardnum;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 档案编号
     */
    private String filenum;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 是否过敏?1:0
     */
    private Integer allergy;



    private String age;
    private String weight;
    private Date birth;
    private String contacts;
    private String contactsphone;
    private String rek;


}
